package com.wxh.corejava;

/**
 * @ClassName: Welcome
 * @Description:
 * @Author wxh
 * @Date: 2020/6/5 15:06
 * @Version V1.0.0
 * @Since 1.8
 */
public class Welcome {
    public static void main(String[] args) {
        String[] greeting = new String[3];
        greeting[0] = "Welcome to Core Java";
        greeting[1] = "by Cay Horstmann";
        greeting[2] = "and Cary Cornell";
        for (String g : greeting) {
            System.out.println(g);
        }

    }

}
